'use strict';
const {
    Model
} = require('sequelize');

module.exports = (sequelize, DataTypes) => {
    class bones_rotate extends Model {
        /**
         * Helper method for defining associations.
         * This method is not a part of Sequelize lifecycle.
         * The `models/index` file will call this method automatically.
         */
        static associate(models) {
            // 这里可以定义关联关系，暂时留空
        }
    }

    bones_rotate.init({
        id: {
            type: DataTypes.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        pid: DataTypes.STRING,
        key: DataTypes.STRING,
        value: DataTypes.STRING
    }, {
        sequelize,
        modelName: 'bones_rotate',
    });

    return bones_rotate;
};